package com.ruoyi.liangshi.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 桌号信息对象 gd_arch_point
 * 
 * @author ruoyi
 * @date 2023-11-18
 */
@Data
public class GdArchPoint implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 桌号 */
    @Excel(name = "桌号")
    private String code;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 是否启用，t是 f 否  */
    @Excel(name = "是否启用，t是 f 否 ")
    private String isEnable;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createShopId;

    /** 顺序 */
    @Excel(name = "顺序")
    private Long sortOrder;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long pointGroupId;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("isEnable", getIsEnable())
            .append("createShopId", getCreateShopId())
            .append("sortOrder", getSortOrder())
            .append("pointGroupId", getPointGroupId())
            .toString();
    }
}
